const express = require('express')
const app = express()

app.get('/api/info', (req,res)=>{
  res.json({
    code: 200,
    msg:'success',
    result: "欢迎来到Vweb8学习前端⾼级课程"
  })
})
app.listen('8092')
//node server.js
// http://localhost:9092/api/info